<link rel="stylesheet" href="../src/css/pages/videoEdit.css">


<section id="msg_placeholder">
</section>

<section class="container-fluid image-container" id="widget-grid">
    <div class="content" id="video-container">
        <!-- row -->
        <div class="row">
            <article class="col-sm-12">
                <div class="jarviswidget jarviswidget-sortable">
                    <!-- widget div-->
                    <div role="content">
                        <!-- widget content -->
                        <div class="widget-body">
                            <div class="container video-edit-container" style="padding-right:50px;">
                            </div>
                            <div class="container" style="padding-right:50px;">
                                <div class="row">
                                    <div class="col-md-11">
                                    </div>
                                    <div class="col-md-1">
                                        <button id="btn-save" type="button" class="btn btn-default btn-primary right" id="query-btn">{{i18n-saveBtn}}</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!-- end widget content -->
                    </div>
                    <!-- end widget div -->
                </div>
            </article>
        </div>
    </div>
</section>
<!-- #image-edit-container 图片编辑 模板 -->
<script type="text/x-template" id="t-videoes-edit">
    <div class="row video-row" data-mid="<%=d.mongodbId%>">
        <div class="col-sm-7">
            <a class="thumbnail" style="border: 1px solid #ccc;">
                <div align="center" class="embed-responsive embed-responsive-16by9">
                    <video controls="controls" class="embed-responsive-item">
                        <source type="video/mp4" src="<%=d.visitPath%>">
                    </video>
                </div>
            </a>
            <div class="caption">
                <div class="form-group text-center">
                    <div class="file-name-title">
                        <span><%=d.name%></span>
                        <a href="javascript:void(0)" class="edit-file-name"><i class="fa fa-edit hide"></i></a>
                    </div>
                    <input type="text" name="fileName" class="form-control input-sm hide" data-orgial-value="<%=d.imgName%>" value="<%=d.imgName%>" data-suffix="<%=d.imgSuffix%>" />
                </div>
            </div>
        </div>
        <div class="col-sm-5">
            <form class="form-horizontal">
                <fieldset>
                    <div class="form-group">
                        <label class="col-md-2 control-label">{{i18n-labelApp}}</label>
                        <div class="col-md-10">
                            <select class="form-group-select2 app-select2" multiple="multiple" data-mid="<%=d.mongodbId%>" style="width:100%" p></select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">{{i18n-labelLanguage}}</label>
                        <div class="col-md-10">
                            <select multiple="multiple" class="form-group-select2 language-select2" data-mid="<%=d.mongodbId%>" style="width:100%"></select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">{{i18n-labelGander}}</label>
                        <div class="col-md-10">
                            <select class="form-group-select2 sex-select2" data-mid="<%=d.mongodbId%>" style="width:100%">
                                <option value="">{{i18n-optionAll}}</option>
                                <option value="1">{{i18n-labelMen}}</option>
                                <option value="2">{{i18n-labelWomen}}</option>
                            </select>
                        </div>
                    </div>
                </fieldset>
            </form>
            <div class="img-exist-area hide" data-uploder="<%=d.userIdSet%>"> {{i18n-createTime}} ( <em><%=d.createTime%></em> <em>{{i18n-uploadUserName}} <B><%=d.uploadUserName%></B></em> )</div>
        </div>
    </div>
    <hr />
</script>
<!-- #adimage  编辑图片中国家列表 模板 -->
<script type="text/x-template" id="t-edit-image-counties-content">
    <div class="smart-form">
        <section>
            <button type="button" class="close" data-dismiss="popover" aria-label="Close" style=""><span aria-hidden="true">&times;</span></button>
        </section>
        <% _.each(appCountries,function (countries,i) { %>
            <section>
                <label class="checkbox">
                    <input type="checkbox" class="checkbox-item" name="checkbox-all" value="1" <%=countries.checked%>>
                    <i></i><strong><%=countries.connectionObjectName%></strong>
                </label>
                <div class="inline-group" style="margin-left: 25px">
                    <% _.each(countries.countries,function (country,j) { %>
                        <label class="checkbox">
                            <input type="checkbox" class="checkbox-item" name="checkbox-inline" value="<%=country.name%>" <%=country.checked%>>
                            <i></i>
                            <%=country.name%>
                        </label>
                        <% }) %>
                </div>
            </section>
            <% }) %>
    </div>
</script>
<div id="popover-from" class="hide" data-from="body"></div>
